<template>
  <el-form-item :label="$t('designer.setting.activeColor')">
    <el-color-picker v-model="thisOptionModel.activeColor"></el-color-picker>
  </el-form-item>
</template>

<script>

  export default {
    name: "activeColor-editor",
    mixins: [],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
	  data(){
		  return {
			  thisOptionModel:this.optionModel
		  }
	  },
	  watch: {
		  'optionModel': {
			  handler(val) {
				  if (val) {
					  this.thisOptionModel = val
				  }
			  }
		  },
	  },
  }
</script>

<style scoped>

</style>
